package com.qigao.mall.jdbc.mapper;

import com.qigao.mall.commons.dto.TbBillItemCondDto;
import com.qigao.mall.jdbc.model.TbBillItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbBillItemMapper extends AbstractTbBillItemMapper{

    List<TbBillItem> selectList(TbBillItemCondDto tbBillItemCondDto);

    void deleteByItemCode(String itemCode);

    List<TbBillItem> selectByItemCode(String itemCode);

    List<TbBillItem> selectAll();

    TbBillItem selectByIndex(@Param("userType") int userType, @Param("userLevel")String userLevel, @Param("itemCode")String itemCode);
}